﻿/************************************************
*
* Copyright(c) ZeeGuo.com
*
* CLR : 4.0.30319.296
*
* FileName : NotifiedModel.cs
*
* Author : Kurodo
*
* CreatTime : 2013/7/4 13:52:54
*           
*************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace ComicHelper.Model
{
    public class NotifiedModel : INotifyPropertyChanged
    {
        public string MyArray
        {
            get {
                return this.MyArray;
            }
            set {
                MyArray = value;
                NotifyPropertyChanged("MyArray");
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;

        public void NotifyPropertyChanged(string info)
        {
            PropertyChangedEventHandler property = PropertyChanged;
            if (property != null)
            {
                property(this, new PropertyChangedEventArgs(info));
            }
        }
    }
}
